<div id="order_note_form">
	<h2>Order Note</h2>
	<div class="content">
		<div class="form400">
			<? if (!isset($fatalError)): ?>
					<? $this->formRenderPreview($note) ?>

					<?= backend_button('Close', array('onclick'=>'return cancelPopup()')) ?>
					<?= backend_button('Reply', array('onclick'=>'return reply_to_note('.$note->id.')')) ?>
					<div class="clear"></div>
				</form>
			<? else: ?>
				<?= flash() ?>
				<?= backend_button('Cancel', array('onclick'=>'return cancelPopup()')) ?>
				<div class="clear"></div>
			<? endif ?>
		</div>
	</div>
</div>